package com.core.entities;

import java.io.Serializable;

/**
 * 
 * This classes is the Data Transfer Object(Value Object) defination for the
 * entity work
 * 
 */

public class Work implements Serializable {
	private int id;
	private String compny_name;
	private String land_phone;
	private String mobile_phone;
	private String email;
	private String website;
	private int online_account_id;
	private int city_id;

	public Work() {
	}

	public Work(int id, String compny_name, String land_phone,
			String mobile_phone, String email, String website,
			int online_account_id, int city_id) {
		this.id = id;
		this.compny_name = compny_name;
		this.land_phone = land_phone;
		this.mobile_phone = mobile_phone;
		this.email = email;
		this.website = website;
		this.online_account_id = online_account_id;
		this.city_id = city_id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getId() {
		return (id);
	}

	public void setCompny_name(String compny_name) {
		this.compny_name = compny_name;
	}

	public String getCompny_name() {
		return (compny_name);
	}

	public void setLand_phone(String land_phone) {
		this.land_phone = land_phone;
	}

	public String getLand_phone() {
		return (land_phone);
	}

	public void setMobile_phone(String mobile_phone) {
		this.mobile_phone = mobile_phone;
	}

	public String getMobile_phone() {
		return (mobile_phone);
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getEmail() {
		return (email);
	}

	public void setWebsite(String website) {
		this.website = website;
	}

	public String getWebsite() {
		return (website);
	}

	public void setOnline_account_id(int online_account_id) {
		this.online_account_id = online_account_id;
	}

	public int getOnline_account_id() {
		return (online_account_id);
	}

	public void setCity_id(int city_id) {
		this.city_id = city_id;
	}

	public int getCity_id() {
		return (city_id);
	}

	public String toString() {
		StringBuffer ret = new StringBuffer();
		ret.append("com.core.entities.Work :");
		ret.append("id='" + id + "'");
		ret.append(", compny_name='" + compny_name + "'");
		ret.append(", land_phone='" + land_phone + "'");
		ret.append(", mobile_phone='" + mobile_phone + "'");
		ret.append(", email='" + email + "'");
		ret.append(", website='" + website + "'");
		ret.append(", online_account_id='" + online_account_id + "'");
		ret.append(", city_id='" + city_id + "'");
		return ret.toString();
	}
}
